ComponentOne FlexGrid for WinForms
MultiColumnDictionary Constructor(DataTable,String,String[],Int32)

C1.Win.C1FlexGrid Namespace > MultiColumnDictionary Class > MultiColumnDictionary Constructor : MultiColumnDictionary Constructor(DataTable,String,String[],Int32)
Data source object.
Name of the data source column that contains unique keys.
Array with the names of the columns that are included in the map.
Name of the column that is displayed in the grid.
Initializes a new instance of a bound MultiColumnDictionary class.
Syntax
'Declaration
 
Public Function New( _
   ByVal table As DataTable, _
   ByVal keyColumn As String, _
   ByVal columnNames() As String, _
   ByVal displayColumn As Integer _
)
public MultiColumnDictionary( 
   DataTable table,
   string keyColumn,
   string[] columnNames,
   int displayColumn
)

Parameters

table
Data source object.
keyColumn
Name of the data source column that contains unique keys.
columnNames
Array with the names of the columns that are included in the map.
displayColumn
Name of the column that is displayed in the grid.
See Also

Reference

MultiColumnDictionary Class
MultiColumnDictionary Members
Overload List